package cn.spike.rockcc.service;

import cn.spike.rockcc.domain.PayOrder;
import cn.spike.rockcc.dto.Order2Pay;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author spike
 * @since 2023-03-22
 */
public interface IPayOrderService extends IService<PayOrder> {

    PayOrder selectByOrderNo(String orderNO);

    void createPayOrder(Order2Pay order2Pay);

    void orderTimeOut(PayOrder payOrder);

    void cancelOrder(String orderNo);
}
